package com.neusoft.ysu.npms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.neusoft.ysu.npms.pojo.Approval;
import com.neusoft.ysu.npms.pojo.ApprovalInfo;
import com.neusoft.ysu.npms.pojo.Measure;
import com.neusoft.ysu.npms.pojo.Result;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
public interface IApprovalService extends IService<Approval> {

    Result add(Approval approval);
    Result deleteApproval(Approval approval);
    Result updateApproval(Approval approval);
    Result selectAll();
    Result findById(Approval approval);
    PageInfo getvillagelist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    PageInfo gettownlist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    PageInfo getcountylist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    PageInfo getcitylist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    PageInfo getprovincelist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    PageInfo getbacklist(ApprovalInfo approvalInfo, int pageNum, int pageSize);
    Result applysuccess(ApprovalInfo approvalInfo);
    Result applyfail(ApprovalInfo approvalInfo);
    Result logout(ApprovalInfo approvalInfo);
}
